import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import '@/utils/vant'
import '@/styles/base.less'

import 'amfe-flexible'

// 导入moment
import moment from 'moment'
moment.locale('zh-cn')

Vue.filter('relvTime', (val) => {
    return moment(val).fromNow()

})

// newvuex

new Vue({
    store,
    router,
    render: h => h(App)
}).$mount('#app')